<%@ page language="java" import="java.util.*,entitybean.oc_depthlist.EntityBeanOc_Depthlist,view.ViewOc_Depth,tools.PageBeanPlus,form.DepthForm" pageEncoding="utf-8"%>
<% EntityBeanOc_Depthlist e=new EntityBeanOc_Depthlist();
   e=(EntityBeanOc_Depthlist)request.getAttribute("e");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>adminindex</title>
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
<style>
body{
	background-color: #EAEBE3;
}
</style>
<script language="javascript">
function  update_me()
{
	var depth=document.getElementById("depth").value;
	if(depth=="")
	{
		window.alert("层深不得为空!");
		return false;
	}
	if(isNaN(depth)){
       window.alert("层深必须是数字");
       return false;
    }
	var obj=window.confirm("是否要提交数据");
	if(obj==true)
	{
		
		var url="<%=request.getContextPath()%>/admin_update_depthlist.do?method=admin_update_oc_depthlist&v="+Math.random();
		document.getElementById("form1").action=url;
    	document.getElementById("form1").submit();
        window.alert("提交数据!");
	}
}
</script>
</head>
<body>


<div class="admin_nei">


<div class="xge">
  <!--<div class="xgetitle"><img src="../../images/admin_38.jpg" alt="" /></div> -->
  <div class="gt">
    
    
    
    <div class="gtt">
    <form id="form1" name="form1" method="post" action="">
   <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a0a297">
     <tr>
       <td bgcolor="#eaebe3">层深 编辑</td>
       </tr>
   </table>
   <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#E6E6E6" id="admintxt">
     <tr>
       <td width="14%" align="right" bgcolor="#FFFFFF">深度：</td>
       <td width="86%" bgcolor="#FFFFFF"><input type="text" name="depth" id="depth" value="<%=e.getDepth()%>"/></td>
       </tr>
    
     <tr>
       <td bgcolor="#FFFFFF">&nbsp;</td>
       <td bgcolor="#FFFFFF"><input type="button" name="button" id="button" value=" 提交 " onclick="update_me()" />
        <input type="hidden" name="id" id="id" value="<%=e.getId()%>"/></td>
     </tr>
   </table>
   </form>
 </div>
    
    
    
    
    </div>
  
</div>
</div>







</body>
</html>
